<!--轮播组件-->
<template>
  <div class="block">
    <el-carousel
      height="400px"
      arrow="never"
    >
      <el-carousel-item v-for="(item,index) in bannerList" :key="index">
        <img :src="item.title" alt="">
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script>
  export default {
    name: 'SlideBanner',
    data() {
      return {
        bannerList:[
          {title:require("../../common/img/index/banner01.png"),url:''},
          {title:require("../../common/img/index/banner02.png"),url:''},
          {title:require("../../common/img/index/banner03.png"),url:''}
        ]
      }
    },
  }
</script>
<style scoped>
  .block img{
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
</style>
